package com.mentaleye.bean;

import java.math.BigDecimal;
import java.util.Date;

public class TransactionBean {
	private String transactionId;
	private Integer transactionType;
	private Integer traObjectType;
	private String traObjectText;
	private Integer traObjectId;
	private Integer beTransactionType;
	private String beTransactionText;
	private Integer beTransactionId;
	private Date transactionTime;
	private Integer transactionState;
	private String relationProcessId;
	private String transactionDesc;
	private Integer transactionStyle;
	private BigDecimal transactionSum;
	
	public TransactionBean() {
		super();
	}
	
	public TransactionBean(String transactionId, Integer transactionType, Integer traObjectType, Integer traObjectId,
			Integer beTransactionType, Integer beTransactionId, Date transactionTime, String relationProcessId,
			String transactionDesc, Integer transactionStyle, BigDecimal transactionSum) {
		super();
		this.transactionId = transactionId;
		this.transactionType = transactionType;
		this.traObjectType = traObjectType;
		this.traObjectId = traObjectId;
		this.beTransactionType = beTransactionType;
		this.beTransactionId = beTransactionId;
		this.transactionTime = transactionTime;
		this.transactionState = 112;
		this.relationProcessId = relationProcessId;
		this.transactionDesc = transactionDesc;
		this.transactionStyle = transactionStyle;
		this.transactionSum = transactionSum;
	}

	public TransactionBean(BigDecimal transactionSum,String transactionId, Integer transactionType, Integer traObjectType, Integer traObjectId,
			Date transactionTime, Integer transactionState, String relationProcessId, String transactionDesc,
			Integer transactionStyle) {
		super();
		this.transactionId = transactionId;
		this.transactionType = transactionType;
		this.traObjectType = traObjectType;
		this.traObjectId = traObjectId;
		this.beTransactionType = 105;
		this.transactionTime = transactionTime;
		this.transactionState = transactionState;
		this.relationProcessId = relationProcessId;
		this.transactionDesc = transactionDesc;
		this.transactionStyle = transactionStyle;
		this.transactionSum = transactionSum;
	}

	public TransactionBean(String transactionId, Integer transactionType, Integer beTransactionType,
			Integer beTransactionId, Date transactionTime, Integer transactionState, String relationProcessId,
			String transactionDesc, Integer transactionStyle, BigDecimal transactionSum) {
		super();
		this.transactionId = transactionId;
		this.transactionType = transactionType;
		this.traObjectType = 105;
		this.beTransactionType = beTransactionType;
		this.beTransactionId = beTransactionId;
		this.transactionTime = transactionTime;
		this.transactionState = transactionState;
		this.relationProcessId = relationProcessId;
		this.transactionDesc = transactionDesc;
		this.transactionStyle = transactionStyle;
		this.transactionSum = transactionSum;
	}

	public TransactionBean(String transactionId, Integer transactionType, Integer traObjectType, Integer traObjectId,
			Integer beTransactionType, Integer beTransactionId, Date transactionTime, Integer transactionState,
			String relationProcessId, Integer transactionStyle, BigDecimal transactionSum) {
		super();
		this.transactionId = transactionId;
		this.transactionType = transactionType;
		this.traObjectType = traObjectType;
		this.traObjectId = traObjectId;
		this.beTransactionType = beTransactionType;
		this.beTransactionId = beTransactionId;
		this.transactionTime = transactionTime;
		this.transactionState = transactionState;
		this.relationProcessId = relationProcessId;
		this.transactionStyle = transactionStyle;
		this.transactionSum = transactionSum;
	}

	public TransactionBean(String transactionId, Integer transactionType, Integer traObjectType, Integer traObjectId,
			Integer beTransactionType, Integer beTransactionId, Integer transactionState, String relationProcessId,
			String transactionDesc, Integer transactionStyle, BigDecimal transactionSum) {
		super();
		this.transactionId = transactionId;
		this.transactionType = transactionType;
		this.traObjectType = traObjectType;
		this.traObjectId = traObjectId;
		this.beTransactionType = beTransactionType;
		this.beTransactionId = beTransactionId;
		this.transactionState = transactionState;
		this.relationProcessId = relationProcessId;
		this.transactionDesc = transactionDesc;
		this.transactionStyle = transactionStyle;
		this.transactionSum = transactionSum;
		this.transactionTime = new Date();
	}

	public TransactionBean(String transactionId, Integer transactionType, Integer traObjectType, Integer traObjectId,
			Integer beTransactionType, Integer beTransactionId, Date transactionTime, Integer transactionState,
			String relationProcessId, String transactionDesc, Integer transactionStyle, BigDecimal transactionSum) {
		super();
		this.transactionId = transactionId;
		this.transactionType = transactionType;
		this.traObjectType = traObjectType;
		this.traObjectId = traObjectId;
		this.beTransactionType = beTransactionType;
		this.beTransactionId = beTransactionId;
		this.transactionTime = transactionTime;
		this.transactionState = transactionState;
		this.relationProcessId = relationProcessId;
		this.transactionDesc = transactionDesc;
		this.transactionStyle = transactionStyle;
		this.transactionSum = transactionSum;
	}
	
	public String getTraObjectText() {
		return traObjectText;
	}

	public void setTraObjectText(String traObjectText) {
		this.traObjectText = traObjectText;
	}

	public String getBeTransactionText() {
		return beTransactionText;
	}

	public void setBeTransactionText(String beTransactionText) {
		this.beTransactionText = beTransactionText;
	}

	public BigDecimal getTransactionSum() {
		return transactionSum;
	}
	public void setTransactionSum(BigDecimal transactionSum) {
		this.transactionSum = transactionSum;
	}
	public String getTransactionId() {
		return transactionId;
	}
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	public Integer getTransactionType() {
		return transactionType;
	}
	public void setTransactionType(Integer transactionType) {
		this.transactionType = transactionType;
	}
	public Integer getTraObjectType() {
		return traObjectType;
	}
	public void setTraObjectType(Integer traObjectType) {
		this.traObjectType = traObjectType;
	}
	public Integer getTraObjectId() {
		return traObjectId;
	}
	public void setTraObjectId(Integer traObjectId) {
		this.traObjectId = traObjectId;
	}
	public Integer getBeTransactionType() {
		return beTransactionType;
	}
	public void setBeTransactionType(Integer beTransactionType) {
		this.beTransactionType = beTransactionType;
	}
	public Integer getBeTransactionId() {
		return beTransactionId;
	}
	public void setBeTransactionId(Integer beTransactionId) {
		this.beTransactionId = beTransactionId;
	}
	public Date getTransactionTime() {
		return transactionTime;
	}
	public void setTransactionTime(Date transactionTime) {
		this.transactionTime = transactionTime;
	}
	public Integer getTransactionState() {
		return transactionState;
	}
	public void setTransactionState(Integer transactionState) {
		this.transactionState = transactionState;
	}
	public String getRelationProcessId() {
		return relationProcessId;
	}
	public void setRelationProcessId(String relationProcessId) {
		this.relationProcessId = relationProcessId;
	}
	public String getTransactionDesc() {
		return transactionDesc;
	}
	public void setTransactionDesc(String transactionDesc) {
		this.transactionDesc = transactionDesc;
	}
	public Integer getTransactionStyle() {
		return transactionStyle;
	}
	public void setTransactionStyle(Integer transactionStyle) {
		this.transactionStyle = transactionStyle;
	}
	
}
